package com.ruoyi.boat.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ADCP数据对象 t_adcp_data
 *
 * @author ruoyi
 * @date 2023-08-09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class AdcpData extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 艇编号
     */
    @Excel(name = "艇编号")
    private String boatCode;

    /**
     * 数据时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    /**
     * 流速
     */
    @Excel(name = "流速")
    private String speedList;

    /**
     * 流向
     */
    @Excel(name = "流向")
    private String directionList;
}
